@import '../common/variables';

.complete-order-wrap {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    background-color: #f1f1f1;
    .order-header {
        padding: 15px;
        background-color: $color-white;
        .order-num-wrap {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-bottom: 6px;
            font-size: 18px;
            font-weight: 500;
            color: $color-brand4;
        }
        .order-time-wrap {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 6px;
            font-size: 12px;
            position: relative;
            &::after {
                content: '';
                display: block;
                position: absolute;
                left: 0;
                right: 0;
                top: 0;
                height: 1px;
                background-color: #d8d8d8;
                transform: scaleY(0.5);
            }
            .time {
                color: #ff7034;
                opacity: 0.8;
            }
        }
    }

    .complete-order {
        .complete-order-group {
            margin-top: 8px;
        }
        .weui-cells__title {
            margin: 0;
            padding: 0 0 7px 13px;
            font-size: 12px;
        }
        .complete-order-list {
            padding-bottom: 25px;
            font-size: 12px;
            background-color: $color-white;
        }
        .list-th,
        .list-td {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
        }
        .list-th {
            padding: 12px 30px 7px 15px;
            color: $color-brand4;
            margin-bottom: 9px;
            position: relative;
            &::after {
                content: '';
                display: block;
                position: absolute;
                left: 13px;
                right: 13px;
                bottom: 0;
                height: 1px;
                background-color: #d8d8d8;
                transform: scaleY(0.5);
            }
        }
        .list-td {
            padding: 0 30px 0 15px;
            &:not(:nth-child(2)) {
                margin-top: 14px;
            }
        }
        .list-name {
            width: 100px;
            word-break: break-all;
        }
        .list-tel {
            margin-left: -50px;
            width: 77px;
            text-align: left;
            white-space: nowrap;
        }
        .list-order-num {
            width: 55px;
            text-align: right;
            white-space: nowrap;
        }
    }
}
